package com.example.singletonpattern;

/**
 * @author liw
 * @date 2022-10-23
 */
public class Singleton1 {

    private static final Singleton1 INSTANCE = new Singleton1();
    private Singleton1() {
    }
    public static Singleton1 getInstance() {
        return Singleton1.INSTANCE;
    }
}
